/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.intention;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.intention.TCustomerIntention;
import com.server.modules.sys.dao.intention.TCustomerIntentionDao;

/**
 * 潜在客户信息记录Service
 * @author 金小敏
 * @version 2017-04-01
 */
@Service
@Transactional(readOnly = true)
public class TCustomerIntentionService extends CrudService<TCustomerIntentionDao, TCustomerIntention> {

	public TCustomerIntention get(String id) {
		return super.get(id);
	}
	
	public List<TCustomerIntention> findList(TCustomerIntention tCustomerIntention) {
		return super.findList(tCustomerIntention);
	}
	
	public Page<TCustomerIntention> findPage(Page<TCustomerIntention> page, TCustomerIntention tCustomerIntention) {
		return super.findPage(page, tCustomerIntention);
	}
	
	@Transactional(readOnly = false)
	public void save(TCustomerIntention tCustomerIntention) {
		super.save(tCustomerIntention);
	}
	
	@Transactional(readOnly = false)
	public void delete(TCustomerIntention tCustomerIntention) {
		super.delete(tCustomerIntention);
	}
	
}